# $Id: PKGBUILD 81102 2012-12-12 00:47:28Z eric $
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=curlpaste
pkgver=1.2.1
pkgrel=3
pkgdesc='Utility to post text files to a number of pastebin sites using curl and Lua.'
arch=('any')
url='http://github.com/Kiwi/curlpaste/tree/master'
license=('MIT')
depends=('curl' 'lua')
provides=('curlpaste-git')
backup=('etc/curlpaste.conf')
source=("http://kiwi.github.com/curlpaste/curlpaste-${pkgver}.tar.gz")
md5sums=('f0df3a17e99414e3054671c7bbe32863')

package() {
  cd "${srcdir}/${pkgname}"
 
  install -Dm0755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  install -Dm0644 "${pkgname}.conf" "${pkgdir}/etc/${pkgname}.conf"
} 

